package com.shenbinhong.proxyip.Enum;

/**
 * Created by 123430134@qq.com on 2016/6/2.
 */
public enum ProxyServer {
    /**
     * 西刺国内高匿代理
     */
    CHINA_HIDE_PROXY("http://www.xicidaili.com/nn",IsForeign.FALSE),
    /**
     * 西刺国内普通代理
     */
    CHINA_NOTHIDE_PROXY("http://www.xicidaili.com/nt",IsForeign.FALSE),
    /**
     * 西刺国外高匿代理
     */
    FOREIGN_HIDE_PROXY ( "http://www.xicidaili.com/wn",IsForeign.TRUE),
    /**
     * 西刺国外普通代理
     */
    FOREIGN_NOTHIDE_PROXY ( "http://www.xicidaili.com/wt",IsForeign.TRUE)
    ;

    ProxyServer(String serverUrl,IsForeign isForeign) {
        this.serverUrl = serverUrl;
        this.isForeign=isForeign;
    }

    private String serverUrl;

    public IsForeign getIsForeign() {
        return isForeign;
    }

    private IsForeign isForeign;

    public String getServerUrl(){
        return this.serverUrl;
    }
}
